package leaveSystem.dao;

import java.util.ArrayList;

import leaveSystem.model.EmpLeave;
import leaveSystem.model.Leave;

public interface ViewLeaveDAO {
	public ArrayList<EmpLeave> getApplicationForApproval(int mgrid) throws DAOException;
	public EmpLeave getEmpLeave(int leaveid) throws DAOException;
	public ArrayList<EmpLeave> getLeaveOnSamePeriod(EmpLeave empleave,int mgrid) throws DAOException;
	public void submitDecision(String modifiedby,int leaveid,String approve,String comment) throws DAOException;
	public ArrayList<EmpLeave> getEmployeeLeaveHistory(int mgrid) throws DAOException;
	public ArrayList<EmpLeave> getPersonalLeaveHistory(String operator,int empid) throws DAOException;
}
